# -*- coding: utf-8 -*-
import pymysql.cursors


def getConnection():
    connection = pymysql.connect(host='localhost',
                                 user='root',
                                 password='123456Ab',
                                 db='gushiwen',
                                 charset='utf8',
                                 cursorclass=pymysql.cursors.DictCursor)
